package com.zjff.myshop.mapper;

import com.zjff.myshop.entity.Category;

import java.util.HashMap;
import java.util.List;

public interface CategoryMapper {

    int insert(Category category);

    int deleteByPrimaryKey(Integer id);

    int deleteBatch(Integer[] ids);

    int update(Category category);

    Category selectByPrimaryKey(Integer id);

    List<Category> selectList();

    Category selectByName(String name);
}